home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / 422mods.zip / DARYL001.422 < prev    next >
Text File  |  1993-02-23  |  3KB  |  56 lines

  1. 1DARYL001.422 - 3Allows one to toggle the pause with CTRL-Y
  2. Daryl #1 @15900 7─═2[7─3SysOp7─2]7═─0
  3. Sun Feb 21 05:37:27 1993
  4.  
  5. ┌────────────────────────────────────────────────────────────────────────────┐
  6. │ Mod Name      : DARYL001.422           Mod Author: Daryl 1@5900 IceNET     │
  7. │ Difficulty    : █▒▒▒▒▒▒▒▒▒ [Simplicity Defined]          1@15900 WWIVlink  │
  8. │ WWIV Version  : 4.22                                                       │
  9. │ Mod Date      : 02/20/93                                                   │
  10. │ Files Affected: COM.C                                                      │
  11. │ Description   : Allows Users and Sysop to toggle pause statue with CTRL-Y  │
  12. └────────────────────────────────────────────────────────────────────────────┘
  13.  
  14. ══[ Description ]═════════════════════════════════════════════════════════════
  15.  
  16. I have always been irritated by having to jump out of a message sub just to
  17. go to the defaults section to toggle the pause status to off or on while
  18. reading.  This SMALL mod allows you to toggle the pause status from ANYWHERE
  19. on the BBS.  It's particularly useful for things like //SORT and //UPLOADALL.
  20.  
  21. This mod was originally posted some time in 1990, I have tested this with WWIV
  22. versions 4.20e, 4.21a and 4.22.
  23.  
  24. ══[Exculpatory Clause]═════════════════════════════════════════════════════════
  25.  
  26. Both my Contracts and Torts professors say these don't work so let's skip the
  27. "disalaimer".  Daryl says, DO NOT BACKUP YOUR SOURCE FIRST, if your short term
  28. memory won't let you uninstall this mod go directly to a competent neurologist
  29. and ask for him/her to rule out senility.
  30.  
  31. ══[The Modification]══════════════════════════════════════════════════════════
  32.  
  33.  
  34.  
  35. In the file COM.C
  36.  
  37. Search for :  void skey1(char *ch)
  38.  
  39.       case 20:                                                /*Exists*/
  40.         if (echo)                                             /*Exists*/
  41.           ptime();                                            /*Exists*/
  42.         break;                                                /*Exists*/
  43.       case 25:           /* DARYL001.422   */                 /* ADD */
  44.         thisuser.sysstatus ^= sysstatus_pause_on_page;        /* ADD */
  45.         break;                                                /* ADD */
  46.       case 18:                                                /*Exists*/
  47.         if (echo)                                             /*Exists*/
  48.           reprint();                                          /*Exists*/
  49.         break;                                                /*Exists*/
  50.     }                                                         /*Exists*/
  51.   *ch = c;                                                    /*Exists*/
  52. }                                                             /*Exists*/
  53.  
  54.  
  55. ══[Call DATA*NORTH*WEST [IPSS] at (509) 487-6572]═════════════════════════════
  56.